package com.kk.miaosha.service;

import com.kk.miaosha.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.HashMap;
import java.util.List;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author kk
 * @since 2020-10-21
 */
public interface MenuService extends IService<Menu> {

    List<Menu> findAllMenu();

    void removeChildById(int id);

    void saveRoleMenu(int roleId, int[] menuId);


    HashMap<String, Object> findAllMenuByRole(int roleId);
}
